package Algorithm;

public abstract class Vehicle 
{
	private String name;
	private boolean brokenDown = false;
	private boolean available = true;
	private Project currentProject;
	
	int numOfSeats;
	abstract int getNumOfSeats();
	
	public Vehicle(String name)
	{
		this.name = name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getName() {
		return name;
	}
	
	boolean isBrokenDown()
	{
		return brokenDown;
	}
	
	boolean isAvailable()
	{
		return available;
	}
	
	public Project getCurrentProject() {
		return currentProject;
	}

	public void setCurrentProject(Project currentProject) {
		this.currentProject = currentProject;
	}

	public void setBrokenDown(boolean brokenDown) {
		this.brokenDown = brokenDown;
	}

	public void setAvailable(boolean available) {
		this.available = available;
	}
}
